package com.shangguan.springboot.dao;

import com.shangguan.springboot.entity.TRole;

import java.util.List;

public interface TRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(TRole record);

    int insertSelective(TRole record);

    TRole selectByPrimaryKey(Integer roleId);
    List<TRole> selectRoleByTuserName(String userName);
    int updateByPrimaryKeySelective(TRole record);

    int updateByPrimaryKey(TRole record);
}